$OpenBSD: patch-CMakeLists_txt,v 1.6 2015/07/02 00:10:16 zhuk Exp $
Insert this text just after cmake searches for KDE packages
--- CMakeLists.txt.orig	Thu Jun 25 20:47:38 2015
+++ CMakeLists.txt	Sun Jun 28 14:39:35 2015
@@ -103,6 +103,8 @@ include(KDE4Defaults)
 find_package(KdepimLibs 4.14.10)
 set_package_properties(KdepimLibs PROPERTIES DESCRIPTION "The KDEPIM libraries" URL "http://www.kde.org" TYPE REQUIRED)
 
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
+
 ############### Load the CTest options ###############
 
 # CMake is irritating and doesn't allow setting the tests timeout globally.
